<?php

/**
 * staticpage actions.
 *
 * @package    myarticles
 * @subpackage staticpage
 * @author     Apul Gupta<apulmca2k4@gmail.com>
 */
class staticpageActions extends sfActions
{


  public function executeShow(sfWebRequest $request)
  {
    $this->StaticPage = $this->getRoute()->getObject();
    $this->forward404Unless($this->StaticPage);

    $response = $this->getResponse();
    $response->setTitle($this->StaticPage->getMetaTitle());
    $response->addMeta('description', $this->StaticPage->getMetaDescription());
    $response->addMeta('keyword', $this->StaticPage->getMetaKeyword());
  }


}
